from google.appengine.ext import db


#The model of a touristic place
class Place(db.Model):
    name = db.StringProperty(required=True)
    Lon = db.FloatProperty();
    Lat = db.FloatProperty();
    urls = db.ListProperty(str)

#The model of comment
class Comments(db.Model):
    placeName = db.StringProperty()
    comment = db.StringProperty()
    date = db.DateTimeProperty(auto_now=True);

#The model of the DB version        
class DBVersion(db.Model):
    number= db.IntegerProperty(required=True)
    